package com.mes.cloud.common.auth;

/**
 * @author Mr.zhang
 * @email zhangchao4@shinho.net.cn
 * @version 2019-07-27 14:01:26
 */
public class UserInfoContext {
    public static final String USER_INFO = "USER_INFO";

    public static UserInfo getUserInfo(){
        return (UserInfo) BaseContextHandler.get(USER_INFO);
    }

    public static void setUserInfo(UserInfo userInfo){
        BaseContextHandler.set(USER_INFO,userInfo);
    }
}
